//
//  SceneryDetailsController.m
//  Lovelife
//
//  Created by dllo on 15/4/30.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "SceneryDetailsController.h"
#import "NightManager.h"
@interface SceneryDetailsController ()
@property(nonatomic, retain)BaseLabel *wordLabel;
@end

@implementation SceneryDetailsController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    
    self.wordLabel = [[BaseLabel alloc]initWithFrame:CGRectMake(13, 20, self.view.frame.size.width - 26, 100)];
    self.wordLabel.text = self.word;
    self.wordLabel.numberOfLines = 0;
    [self.wordLabel sizeToFit];
    UIScrollView *pull = [[UIScrollView alloc]initWithFrame:self.view.frame];
    pull.contentSize = self.wordLabel.frame.size;
    [self.view addSubview:pull];
    [pull release];
    [pull addSubview:self.wordLabel];
    [self.wordLabel release];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)setNightDayModel
{
    [NightManager setLabelColorWithLabel:self.wordLabel];
}

- (void)setLightDayModel
{
    [NightManager setLabelColorWithLabel:self.wordLabel];
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
